import service from '@/utils/request'

// @Tags MoldStartNoticeModifyNote
// @Summary 创建起模通知单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeModifyNote true "创建起模通知单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /moldStartNoticeModifyNote/createMoldStartNoticeModifyNote [post]
export const createMoldStartNoticeModifyNote = (data) => {
  return service({
    url: '/moldStartNoticeModifyNote/createMoldStartNoticeModifyNote',
    method: 'post',
    data
  })
}

// @Tags MoldStartNoticeModifyNote
// @Summary 删除起模通知单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeModifyNote true "删除起模通知单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticeModifyNote/deleteMoldStartNoticeModifyNote [delete]
export const deleteMoldStartNoticeModifyNote = (params) => {
  return service({
    url: '/moldStartNoticeModifyNote/deleteMoldStartNoticeModifyNote',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticeModifyNote
// @Summary 批量删除起模通知单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除起模通知单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /moldStartNoticeModifyNote/deleteMoldStartNoticeModifyNote [delete]
export const deleteMoldStartNoticeModifyNoteByIds = (params) => {
  return service({
    url: '/moldStartNoticeModifyNote/deleteMoldStartNoticeModifyNoteByIds',
    method: 'delete',
    params
  })
}

// @Tags MoldStartNoticeModifyNote
// @Summary 更新起模通知单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MoldStartNoticeModifyNote true "更新起模通知单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /moldStartNoticeModifyNote/updateMoldStartNoticeModifyNote [put]
export const updateMoldStartNoticeModifyNote = (data) => {
  return service({
    url: '/moldStartNoticeModifyNote/updateMoldStartNoticeModifyNote',
    method: 'put',
    data
  })
}

// @Tags MoldStartNoticeModifyNote
// @Summary 用id查询起模通知单-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MoldStartNoticeModifyNote true "用id查询起模通知单-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /moldStartNoticeModifyNote/findMoldStartNoticeModifyNote [get]
export const findMoldStartNoticeModifyNote = (params) => {
  return service({
    url: '/moldStartNoticeModifyNote/findMoldStartNoticeModifyNote',
    method: 'get',
    params
  })
}

// @Tags MoldStartNoticeModifyNote
// @Summary 分页获取起模通知单-历史修改备注列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取起模通知单-历史修改备注列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /moldStartNoticeModifyNote/getMoldStartNoticeModifyNoteList [get]
export const getMoldStartNoticeModifyNoteList = (params) => {
  return service({
    url: '/moldStartNoticeModifyNote/getMoldStartNoticeModifyNoteList',
    method: 'get',
    params
  })
}
